home *** CD-ROM | disk | FTP | other *** search
- {
- "schema": {
- "Name": "Text (15)",
- "Type": "Long Integer",
- "Author": "Text (50)",
- "Code": "Memo/Hyperlink (255)"
- },
- "data": [
- {
- "Name": "Default",
- "Type": 0,
- "Author": "Steve Perry",
- "Code": "Sub {sub} ()\r\n'*******************************************************************************\r\n'* AUTHOR: {author} *\r\n'* CREATED: {date} *\r\n'* *\r\n'* SUB: {sub} *\r\n'* PARAMETERS: (tbd) *\r\n'* *\r\n'* CALLED BY: (tbd) *\r\n'* *\r\n'*******************************************************************************\r\n'\r\n'************************************\r\n'* Local variables *\r\n'************************************\r\n\r\nDim sMessage As String\r\nDim sProcedureName As String\r\nDim nOldMousePtr As Integer\r\n \r\n '************************************\r\n '* Procedure Code *\r\n '************************************\r\n On Error GoTo Error_{sub}\r\n 'gnDebugging = true\r\n sProcedureName = \"{sub}()\"\r\n If gnDebugging Then\r\n Debug.Print \"+Entering: \" & sProcedureName\r\n End If\r\n\r\n nOldMousePtr = Screen.Mousepointer 'save current pointer\r\n Screen.Mousepointer = 11 'Change to Hourglass\r\n \r\n '*************************************************\r\n 'Enter your code here...\r\n '*************************************************\r\n\r\n'***********************\r\nExit_{sub}:\r\n'***********************\r\n Screen.Mousepointer = nOldMousePtr ' restore old pointer\r\n \r\n If gnDebugging Then\r\n Debug.Print \"-Leaving: \" & sProcedureName\r\n End If\r\n Exit Sub\r\n \r\n'************************\r\nError_{sub}:\r\n'************************\r\n sMessage = \"Application: \" & gsPROGRAM_ID & chr$(13) \r\n sMessage = sMessage & \"Module: \" & msMODULE_FILENAME & chr$(13)\r\n sMessage = sMessage & \"Error: \" & CStr(Err) & \" (\" & Error$ & \").\"\r\n MsgBox sMessage, 48, sProcedureName\r\n If gnDebugging Then\r\n Resume Next\r\n Else\r\n Resume Exit_{sub}\r\n End If\r\n \r\nEnd Sub\r\n "
- },
- {
- "Name": "Default",
- "Type": 1,
- "Author": "Steve Perry",
- "Code": "Function {function} () As Integer\r\n'*******************************************************************************\r\n'* AUTHOR: {author} *\r\n'* CREATED: {date} *\r\n'* *\r\n'* FUNCTION: {function} *\r\n'* PARAMETERS: (tbd) *\r\n'* RETURNS: TRUE (-1) if successful; FALSE (0) if an error occurred. *\r\n'* *\r\n'* CALLED BY: (tbd) *\r\n'* *\r\n'*******************************************************************************\r\n'\r\n'************************************\r\n'* Local variables *\r\n'************************************\r\n\r\nDim sMessage As String\r\nDim sProcedureName As String\r\nDim nOldMousePtr As Integer\r\n\r\n '************************************\r\n '* Procedure Code *\r\n '************************************\r\n On Error GoTo Error_{function}\r\n 'gnDebugging = true\r\n sProcedureName = \"{function}()\"\r\n If gnDebugging Then\r\n Debug.Print \"+Entering: \" & sProcedureName\r\n End If\r\n \r\n nOldMousePtr = Screen.Mousepointer 'save current pointer\r\n Screen.Mousepointer = 11 'Change to Hourglass\r\n\r\n {function} = FALSE ' Set default error return.\r\n \r\n '*************************************************\r\n 'Enter your code here...\r\n '*************************************************\r\n \r\n {function} = TRUE ' Set return to successful.\r\n\r\n'***********************\r\nExit_{function}:\r\n'***********************\r\n Screen.Mousepointer = nOldMousePtr ' restore old pointer\r\n \r\n If gnDebugging Then\r\n Debug.Print \"-Leaving: \" & sProcedureName\r\n End If\r\n Exit Function\r\n\r\n'************************\r\nError_{function}:\r\n'************************\r\n\r\n sMessage = \"Application: \" & gsPROGRAM_ID & chr$(13) \r\n sMessage = sMessage & \"Module: \" & msMODULE_FILENAME & chr$(13)\r\n sMessage = sMessage & \"Error: \" & CStr(Err) & \" (\" & Error$ & \").\"\r\n MsgBox sMessage, 48, sProcedureName\r\n If gnDebugging Then\r\n Resume Next\r\n Else\r\n Resume Exit_{function}\r\n End If\r\n\r\nEnd Function\r\n "
- },
- {
- "Name": "Work - Short",
- "Type": 0,
- "Author": "Steve Perry",
- "Code": "Sub {sub} ()\r\n'*******************************************************************************\r\n'* AUTHOR: {author} *\r\n'* CREATED: {date} *\r\n'* *\r\n'* SUB: {sub} *\r\n'* PARAMETERS: (tbd) *\r\n'* *\r\n'* CALLED BY: (tbd) *\r\n'* *\r\n'*******************************************************************************\r\n'\r\n'************************************\r\n'* Local variables *\r\n'************************************\r\n\r\nDim sMessage As String\r\nDim sProcedureName As String\r\nDim nOldMousePtr As Integer\r\n \r\n '************************************\r\n '* Procedure Code *\r\n '************************************\r\n On Error GoTo Error_{sub}\r\n \r\n 'gnDebugging = true\r\n sProcedureName = \"{sub}()\"\r\n If gnDebugging Then\r\n Debug.Print \"+Entering: \" & msMODULE_FILENAME & \" , \" & sProcedureName\r\n End If\r\n\r\n nOldMousePtr = Screen.Mousepointer 'save current pointer\r\n Screen.Mousepointer = 11 'Change to Hourglass\r\n \r\n '*************************************************\r\n 'Enter your code here...\r\n '*************************************************\r\n\r\n'***********************\r\nExit_{sub}:\r\n'***********************\r\n \r\n Screen.Mousepointer = nOldMousePtr ' restore old pointer\r\n \r\n If gnDebugging Then\r\n Debug.Print \"-Leaving: \" & sProcedureName\r\n End If\r\n Exit Sub\r\n \r\n'************************\r\nError_{sub}:\r\n'************************\r\n sMessage = \"Application: \" & gsPROGRAM_ID & chr$(13) \r\n sMessage = sMessage & \"Module: \" & msMODULE_FILENAME & chr(13)\r\n sMessage = sMessage & \"Procedure: \" sProcedureName & chr(13)\r\n sMessage = sMessage & \"Error: \" & CStr(Err) & \" (\" & Error$ & \")\"\r\n MsgBox sMessage, 48, \"Error: \" & sProcedureName\r\n If gnDebugging Then\r\n Resume Next\r\n Else\r\n Resume Exit_{sub}\r\n End If\r\n \r\nEnd Sub\r\n "
- },
- {
- "Name": "Work - Short",
- "Type": 1,
- "Author": "Steve Perry",
- "Code": "Function {function} () As Integer\r\n'*******************************************************************************\r\n'* AUTHOR: {author} *\r\n'* CREATED: {date} *\r\n'* *\r\n'* FUNCTION: {function} *\r\n'* PARAMETERS: (tbd) *\r\n'* RETURNS: TRUE (-1) if successful; FALSE (0) if an error occurred. *\r\n'* *\r\n'* CALLED BY: (tbd) *\r\n'* *\r\n'*******************************************************************************\r\n'\r\n'************************************\r\n'* Local variables *\r\n'************************************\r\n\r\nDim sMessage As String\r\nDim sProcedureName As String\r\nDim nOldMousePtr As Integer\r\n\r\n '************************************\r\n '* Procedure Code *\r\n '************************************\r\n On Error GoTo Error_{function}\r\n \r\n 'gnDebugging = true\r\n sProcedureName = \"{function}()\"\r\n If gnDebugging Then\r\n Debug.Print \"+Entering: \" & msMODULE_FILENAME & \" , \" & sProcedureName\r\n End If\r\n \r\n nOldMousePtr = Screen.Mousepointer 'save current pointer\r\n Screen.Mousepointer = 11 'Change to Hourglass\r\n\r\n {function} = FALSE ' Set default error return.\r\n \r\n \r\n '*************************************************\r\n 'Enter your code here...\r\n '*************************************************\r\n \r\n \r\n {function} = TRUE ' Set return to successful.\r\n\r\n'***********************\r\nExit_{function}:\r\n'***********************\r\n\r\n Screen.Mousepointer = nOldMousePtr ' restore old pointer\r\n \r\n If gnDebugging Then\r\n Debug.Print \"-Leaving: \" & sProcedureName\r\n End If\r\n Exit Function\r\n\r\n'************************\r\nError_{function}:\r\n'************************\r\n sMessage = \"Application: \" & gsPROGRAM_ID & chr$(13) \r\n sMessage = sMessage & \"Module: \" & msMODULE_FILENAME & chr(13)\r\n sMessage = sMessage & \"Procedure: \" sProcedureName & chr(13)\r\n sMessage = sMessage & \"Error: \" & CStr(Err) & \" (\" & Error$ & \")\"\r\n MsgBox sMessage, 48, \"Error: \" & sProcedureName\r\n If gnDebugging Then\r\n Resume Next\r\n Else\r\n Resume Exit_{function}\r\n End If\r\n\r\nEnd Function\r\n "
- }
- ]
- }